package com.cell.pojo.DTO.user.location;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author cloudJiang
 * @date 2022/6/24 21:53
 */
@Data
public class UserUpdateLocationDTO {
    @NotNull(message = "查询id不能为空")
    Long locationId;
    @NotBlank(message = "所在省份不能为空")
    String province;
    @NotBlank(message = "所在城市不能为空")
    String city;
    @NotBlank(message = "所在区域不能为空")
    String district;
    @NotBlank(message = "所在社区不能为空")
    String community;
    @NotBlank(message = "详细地址不能为空")
    String detail;
}
